import flash.media.StageWebView;

button_back_maphome.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_maphome);

function fl_ClickToGoToAndStopAtFrame_maphome(event:MouseEvent):void
{
	webView.dispose();
	gotoAndStop(1);
}


var webView:StageWebView = new StageWebView(); 
webView.viewPort = new Rectangle( 0, 80, this.stage.stageWidth, this.stage.stageHeight-80); 
webView.stage = this.stage;
//load url with map for san francisco
//note that if you are testing on the desktop - the desktop version of google maps will display (AIR debug launcher for mobile does not display google mobile maps)
webView.loadURL("http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=san+francisco&aq=&sll=37.0625,-95.677068&sspn=46.092115,63.808594&ie=UTF8&hq=&hnear=San+Francisco,+California&z=12");
